﻿using System;
using jSLCore.Client.Presentation.AuthorizeService;

namespace jSLCore.Client.Presentation.ApplicationContainer
{
    public interface ISecurityManager
    {
        Guid Authorize(string login, string password);
        void AuthorizeByCode(Guid code);
        void Logout();
        string GetCurrentUserName();
        User GetCurrentUser();
    }
}